package com.ruoyi.lottery.domain;

import java.math.BigDecimal;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖励对象 lot_award
 *
 * @author ruoyi
 * @date 2023-01-27
 */
@Getter
@Setter

@TableName("lot_award")
public class LotAward extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    /** 奖励名称 */
    @Excel(name = "奖励名称")
    @TableField("name")
    private String name;

    /** 是否关联库存商品 */
    @Excel(name = "是否关联库存商品")
    @TableField("is_relation_goods")
    private Integer isRelationGoods;

    /** 获奖概率 */
    @Excel(name = "获奖概率")
    @TableField("probability")
    private BigDecimal probability;

    /** 奖品图的地址 */
    @Excel(name = "奖品图的地址")
    @TableField("img_url")
    private String imgUrl;

    /** 奖品金额 */
    private BigDecimal money;
}
